/**
 * @copyright (c) 2003 - 2022, Goodix Co., Ltd. All rights reserved.
 *
 * @file    gh3x2x_demo_algo_call.h
 *
 * @brief   gh3x2x algo call
 *
 * @version ref gh3x2x_demo_algo_call.h
 *
 */
#ifndef _GH3X2X_DEMO_ALGO_CALL_H_
#define _GH3X2X_DEMO_ALGO_CALL_H_

#include "gh3x2x_drv.h"

#define GOODIX_ALGO_CALL_SECTION_EXIST

extern void GH3X2X_AlgoVersion(GU8 uchFunctionID, GCHAR version[100]);
extern GS8 GH3X2X_AlgoInit(GU32 unFunctionID);
extern GS8 GH3X2X_AlgoDeinit(GU32 unFunctionID);
extern GS8 GH3X2X_AlgoCalculate(GU32 unFunctionID);

extern void GH3X2X_AlgoMemoryConfig(void);
extern void GH3X2X_RegisterFuncInfoStruct(const STGh3x2xFrameInfo * const  pstGh3x2xFrameInfo[]);
extern void GH3X2X_InitAlgoConfigParameters(void);
extern void GH3X2X_AlgoSensorEnable(GU8 uchAlgoGsensorEnable,GU8 uchAlgoCapEnable,GU8 uchAlgoTempEnable);

extern GU8 GH3X2X_UpdateSoftWearStatus(void);
extern void GH3X2X_SoftAdtParaInit(void);
extern void GH3X2X_WriteAlgConfigWithVirtualReg(GU16 usVirtualRegAddr, GU16 usVirtualRegValue);

#endif /* _GH3X2X_DEMO_ALGO_CALL_H_ */

/********END OF FILE********* Copyright (c) 2003 - 2022, Goodix Co., Ltd. ********/
